\doxysection{Time.\+h}
\hypertarget{_time_8h_source}{}\label{_time_8h_source}\index{Log/Header/Component/Time.h@{Log/Header/Component/Time.h}}
\mbox{\hyperlink{_time_8h}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#ifndef\ LOGGER\_TIME\_H}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#define\ LOGGER\_TIME\_H}}
\DoxyCodeLine{00008\ }
\DoxyCodeLine{00012\ \textcolor{keyword}{class\ }\mbox{\hyperlink{class_time}{Time}}\ \{}
\DoxyCodeLine{00013\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00014\ \ \ \ \ \textcolor{keyword}{explicit}\ \mbox{\hyperlink{class_time_ad5c7fc0457ae7a368cfe0dd089970ad8}{Time}}(\textcolor{keywordtype}{int}\ year,\ \textcolor{keywordtype}{int}\ month,\ \textcolor{keywordtype}{int}\ day,\ \textcolor{keywordtype}{int}\ hour,\ \textcolor{keywordtype}{int}\ minute,\ \textcolor{keywordtype}{int}\ second)\ :}
\DoxyCodeLine{00015\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{class_time_ad2329c25520f4f561e7143cef5997279}{mYear}}(year),\ \mbox{\hyperlink{class_time_a13b7812113b018f25d761e8790237134}{mMonth}}(month),\ \mbox{\hyperlink{class_time_a62567f3af7e6a62994c1865d5ba5fc27}{mDay}}(day),\ \mbox{\hyperlink{class_time_afcca4912dd774e773a9e50c02dd4496f}{mHour}}(hour),\ \mbox{\hyperlink{class_time_ab568af317099b3a68b068aa13d449d00}{mMinute}}(minute),\ \mbox{\hyperlink{class_time_aff1414aeb2f65e4a53041f3c0376af6d}{mSecond}}(second)\ \{\}}
\DoxyCodeLine{00016\ }
\DoxyCodeLine{00018\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_time_ade7face40dbabb5ee40b34e2584ca731}{getYear}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{class_time_ad2329c25520f4f561e7143cef5997279}{mYear}};\ \}}
\DoxyCodeLine{00020\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_time_a92ebae2cc25d4d448b934ab632577cb7}{getMonth}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{class_time_a13b7812113b018f25d761e8790237134}{mMonth}};\ \}}
\DoxyCodeLine{00022\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_time_a1a0aaa223057af66b55e0287a6219262}{getDay}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{class_time_a62567f3af7e6a62994c1865d5ba5fc27}{mDay}};\ \}}
\DoxyCodeLine{00024\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_time_aacb846812dccbf244d52e0f237ad0026}{getHour}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{class_time_afcca4912dd774e773a9e50c02dd4496f}{mHour}};\ \}}
\DoxyCodeLine{00026\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_time_a809250b6139afebe7c41a1fe6c857172}{getMinute}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{class_time_ab568af317099b3a68b068aa13d449d00}{mMinute}};\ \}}
\DoxyCodeLine{00028\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_time_a1d3681b3ccd635d0a285b3d628e03d60}{getSecond}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ \mbox{\hyperlink{class_time_aff1414aeb2f65e4a53041f3c0376af6d}{mSecond}};\ \}}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00031\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_time_ad2329c25520f4f561e7143cef5997279}{mYear}}\{0\};}
\DoxyCodeLine{00032\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_time_a13b7812113b018f25d761e8790237134}{mMonth}}\{0\};}
\DoxyCodeLine{00033\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_time_a62567f3af7e6a62994c1865d5ba5fc27}{mDay}}\{0\};}
\DoxyCodeLine{00034\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_time_afcca4912dd774e773a9e50c02dd4496f}{mHour}}\{0\};}
\DoxyCodeLine{00035\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_time_ab568af317099b3a68b068aa13d449d00}{mMinute}}\{0\};}
\DoxyCodeLine{00036\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{class_time_aff1414aeb2f65e4a53041f3c0376af6d}{mSecond}}\{0\};}
\DoxyCodeLine{00037\ \};}
\DoxyCodeLine{00038\ }
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00040\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//LOGGER\_TIME\_H}}

\end{DoxyCode}
